import request from '@/utils/request'

// 查询主要经历列表
export function listEXPERIENCE(query) {
  return request({
    url: '/person/EXPERIENCE/list',
    method: 'get',
    data: query
  })
}

// 查询主要经历详细
export function getEXPERIENCE(id) {
  return request({
    url: '/person/EXPERIENCE/' + id,
    method: 'get'
  })
}

// 新增主要经历
export function addEXPERIENCE(data) {
  return request({
    url: '/person/EXPERIENCE',
    method: 'post',
    data: data
  })
}

// 修改主要经历
export function updateEXPERIENCE(data) {
  return request({
    url: '/person/EXPERIENCE',
    method: 'put',
    data: data
  })
}

// 删除主要经历
export function delEXPERIENCE(id) {
  return request({
    url: '/person/EXPERIENCE/' + id,
    method: 'delete'
  })
}
